package com.suray.attendance.model.enums.erp;

public enum DingwinMethod {
	查询("list.data.query.get"),
	审核("data.approve"),
	撤销审核("data.disapprove"),
	作废("data.invalid"),
	创建("data.create"),
//	删除("data.delete"),
	读取("details.data.read.get");

	DingwinMethod(String method) {
		this.method = method;
	}
	String method;
	public String getServerName(String serverName) {
		StringBuilder bf = new StringBuilder(serverName); 
		bf.append(".");
		bf.append(method);
		return bf.toString();
	}
}
